﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;
using System.ComponentModel.DataAnnotations;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/1/12 11:34:20
    /// </summary> 
    [Serializable]
    [ModelMap("Plm_DirectorLog", new string[] { "Dl_ID" })]
    public class PlmDirectorlogInfo : BaseEntity
    {
        public PlmDirectorlogInfo()
        {

        }


        private string _dlId;
        /// <summary>
        /// 主键
        /// </summary>
        [ColumnMap("Dl_ID", System.Data.DbType.String)]
        public string Dl_ID
        {
            get { return _dlId; }
            set
            {
                if (object.Equals(this._dlId, value) != true)
                {
                    this._dlId = value;
                    this.RaisePropertyChanged("Dl_ID");
                }
            }
        }


        private int _dlUserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Dl_UserID", System.Data.DbType.Int32)]
        public int Dl_UserID
        {
            get { return _dlUserid; }
            set
            {
                if (object.Equals(this._dlUserid, value) != true)
                {
                    this._dlUserid = value;
                    this.RaisePropertyChanged("Dl_UserID");
                }
            }
        }


        private string _dlUsername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Dl_UserName", System.Data.DbType.String)]
        public string Dl_UserName
        {
            get { return _dlUsername; }
            set
            {
                if (object.Equals(this._dlUsername, value) != true)
                {
                    this._dlUsername = value;
                    this.RaisePropertyChanged("Dl_UserName");
                }
            }
        }


        private DateTime _dlUpdatetime;
        /// <summary>
        /// 操作日期
        /// </summary>
        [ColumnMap("Dl_UpdateTime", System.Data.DbType.DateTime)]
        public DateTime Dl_UpdateTime
        {
            get { return _dlUpdatetime; }
            set
            {
                if (object.Equals(this._dlUpdatetime, value) != true)
                {
                    this._dlUpdatetime = value;
                    this.RaisePropertyChanged("Dl_UpdateTime");
                }
            }
        }


        private string _dlSection;
        /// <summary>
        /// 标段
        /// </summary>
        [ColumnMap("Dl_Section", System.Data.DbType.String)]
        public string Dl_Section
        {
            get { return _dlSection; }
            set
            {
                if (object.Equals(this._dlSection, value) != true)
                {
                    this._dlSection = value;
                    this.RaisePropertyChanged("Dl_Section");
                }
            }
        }


        private string _dlContractnumber;
        /// <summary>
        /// 合同号
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Dl_ContractNumber", System.Data.DbType.String)]
        public string Dl_ContractNumber
        {
            get { return _dlContractnumber; }
            set
            {
                if (object.Equals(this._dlContractnumber, value) != true)
                {
                    this._dlContractnumber = value;
                    this.RaisePropertyChanged("Dl_ContractNumber");
                }
            }
        }


        private string _dlSupervisionnumber;
        /// <summary>
        /// 监理日志编号
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Dl_SupervisionNumber", System.Data.DbType.String)]
        public string Dl_SupervisionNumber
        {
            get { return _dlSupervisionnumber; }
            set
            {
                if (object.Equals(this._dlSupervisionnumber, value) != true)
                {
                    this._dlSupervisionnumber = value;
                    this.RaisePropertyChanged("Dl_SupervisionNumber");
                }
            }
        }


        private string _dlPatrolnumber;
        /// <summary>
        /// 巡视记录编号
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Dl_PatrolNumber", System.Data.DbType.String)]
        public string Dl_PatrolNumber
        {
            get { return _dlPatrolnumber; }
            set
            {
                if (object.Equals(this._dlPatrolnumber, value) != true)
                {
                    this._dlPatrolnumber = value;
                    this.RaisePropertyChanged("Dl_PatrolNumber");
                }
            }
        }


        private DateTime _dlRecorddate;
        /// <summary>
        /// 记录日期
        /// </summary>
        [ColumnMap("Dl_RecordDate", System.Data.DbType.DateTime)]
        public DateTime Dl_RecordDate
        {
            get { return _dlRecorddate; }
            set
            {
                if (object.Equals(this._dlRecorddate, value) != true)
                {
                    this._dlRecorddate = value;
                    this.RaisePropertyChanged("Dl_RecordDate");
                }
            }
        }


        private string _dlRecorduser;
        /// <summary>
        /// 记录人
        /// </summary>
        [ColumnMap("Dl_RecordUser", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        public string Dl_RecordUser
        {
            get { return _dlRecorduser; }
            set
            {
                if (object.Equals(this._dlRecorduser, value) != true)
                {
                    this._dlRecorduser = value;
                    this.RaisePropertyChanged("Dl_RecordUser");
                }
            }
        }


        private string _dlSpecialtyposition;
        /// <summary>
        /// 专业职位
        /// </summary>
        [ColumnMap("Dl_SpecialtyPosition", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        public string Dl_SpecialtyPosition
        {
            get { return _dlSpecialtyposition; }
            set
            {
                if (object.Equals(this._dlSpecialtyposition, value) != true)
                {
                    this._dlSpecialtyposition = value;
                    this.RaisePropertyChanged("Dl_SpecialtyPosition");
                }
            }
        }


        private string _dlSupervisorname;
        /// <summary>
        /// 监理单位
        /// </summary>
        [ColumnMap("Dl_SupervisorName", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        [StringLength(50, ErrorMessage = "字符长度超出范围")]
        public string Dl_SupervisorName
        {
            get { return _dlSupervisorname; }
            set
            {
                if (object.Equals(this._dlSupervisorname, value) != true)
                {
                    this._dlSupervisorname = value;
                    this.RaisePropertyChanged("Dl_SupervisorName");
                }
            }
        }


        private string _dlSupervisorscope;
        /// <summary>
        /// 监理范围
        /// </summary>
        [ColumnMap("Dl_SupervisorScope", System.Data.DbType.String)]
        [Required(ErrorMessage = "*")]
        [StringLength(50, ErrorMessage = "字符长度超出范围")]
        public string Dl_SupervisorScope
        {
            get { return _dlSupervisorscope; }
            set
            {
                if (object.Equals(this._dlSupervisorscope, value) != true)
                {
                    this._dlSupervisorscope = value;
                    this.RaisePropertyChanged("Dl_SupervisorScope");
                }
            }
        }


        private string _dlAuditman;
        /// <summary>
        /// 审核人
        /// </summary>
        [ColumnMap("Dl_AuditMan", System.Data.DbType.String)]
        public string Dl_AuditMan
        {
            get { return _dlAuditman; }
            set
            {
                if (object.Equals(this._dlAuditman, value) != true)
                {
                    this._dlAuditman = value;
                    this.RaisePropertyChanged("Dl_AuditMan");
                }
            }
        }


        private string _dlWeather;
        /// <summary>
        /// 天气情况
        /// </summary>
        [ColumnMap("Dl_Weather", System.Data.DbType.String)]
        public string Dl_Weather
        {
            get { return _dlWeather; }
            set
            {
                if (object.Equals(this._dlWeather, value) != true)
                {
                    this._dlWeather = value;
                    this.RaisePropertyChanged("Dl_Weather");
                }
            }
        }


        private string _dlConstructionsituation;
        /// <summary>
        /// 主要施工情况
        /// </summary>
        [ColumnMap("Dl_ConstructionSituation", System.Data.DbType.String)]
        public string Dl_ConstructionSituation
        {
            get { return _dlConstructionsituation; }
            set
            {
                if (object.Equals(this._dlConstructionsituation, value) != true)
                {
                    this._dlConstructionsituation = value;
                    this.RaisePropertyChanged("Dl_ConstructionSituation");
                }
            }
        }


        private string _dlSupervisorjob;
        /// <summary>
        /// 监理主要工作
        /// </summary>
        [ColumnMap("Dl_SupervisorJob", System.Data.DbType.String)]
        public string Dl_SupervisorJob
        {
            get { return _dlSupervisorjob; }
            set
            {
                if (object.Equals(this._dlSupervisorjob, value) != true)
                {
                    this._dlSupervisorjob = value;
                    this.RaisePropertyChanged("Dl_SupervisorJob");
                }
            }
        }


        private string _dlProblemsdispose;
        /// <summary>
        /// 问题及处理情况
        /// </summary>
        [ColumnMap("Dl_ProblemsDispose", System.Data.DbType.String)]
        public string Dl_ProblemsDispose
        {
            get { return _dlProblemsdispose; }
            set
            {
                if (object.Equals(this._dlProblemsdispose, value) != true)
                {
                    this._dlProblemsdispose = value;
                    this.RaisePropertyChanged("Dl_ProblemsDispose");
                }
            }
        }


        private string _dlConstructionname;
        /// <summary>
        /// 施工单位
        /// </summary>
        [ColumnMap("Dl_ConstructionName", System.Data.DbType.String)]
        public string Dl_ConstructionName
        {
            get { return _dlConstructionname; }
            set
            {
                if (object.Equals(this._dlConstructionname, value) != true)
                {
                    this._dlConstructionname = value;
                    this.RaisePropertyChanged("Dl_ConstructionName");
                }
            }
        }


        private string _dlContractsection;
        /// <summary>
        /// 合同段
        /// </summary>
        [ColumnMap("Dl_ContractSection", System.Data.DbType.String)]
        public string Dl_ContractSection
        {
            get { return _dlContractsection; }
            set
            {
                if (object.Equals(this._dlContractsection, value) != true)
                {
                    this._dlContractsection = value;
                    this.RaisePropertyChanged("Dl_ContractSection");
                }
            }
        }


        private string _dlPatrolman;
        /// <summary>
        /// 巡视人
        /// </summary>
        [ColumnMap("Dl_PatrolMan", System.Data.DbType.String)]
        public string Dl_PatrolMan
        {
            get { return _dlPatrolman; }
            set
            {
                if (object.Equals(this._dlPatrolman, value) != true)
                {
                    this._dlPatrolman = value;
                    this.RaisePropertyChanged("Dl_PatrolMan");
                }
            }
        }


        private DateTime _dlPatroltime;
        /// <summary>
        /// 巡视时间
        /// </summary>
        [ColumnMap("Dl_PatrolTime", System.Data.DbType.DateTime)]
        public DateTime Dl_PatrolTime
        {
            get { return _dlPatroltime; }
            set
            {
                if (object.Equals(this._dlPatroltime, value) != true)
                {
                    this._dlPatroltime = value;
                    this.RaisePropertyChanged("Dl_PatrolTime");
                }
            }
        }


        private string _dlPatrolscope;
        /// <summary>
        /// 巡视的范围
        /// </summary>
        [ColumnMap("Dl_PatrolScope", System.Data.DbType.String)]
        public string Dl_PatrolScope
        {
            get { return _dlPatrolscope; }
            set
            {
                if (object.Equals(this._dlPatrolscope, value) != true)
                {
                    this._dlPatrolscope = value;
                    this.RaisePropertyChanged("Dl_PatrolScope");
                }
            }
        }


        private string _dlPatrolconstruction;
        /// <summary>
        /// 主要施工情况
        /// </summary>
        [ColumnMap("Dl_PatrolConstruction", System.Data.DbType.String)]
        public string Dl_PatrolConstruction
        {
            get { return _dlPatrolconstruction; }
            set
            {
                if (object.Equals(this._dlPatrolconstruction, value) != true)
                {
                    this._dlPatrolconstruction = value;
                    this.RaisePropertyChanged("Dl_PatrolConstruction");
                }
            }
        }


        private string _dlOthersituation;
        /// <summary>
        /// 质量、安全、环保等情况
        /// </summary>
        [ColumnMap("Dl_OtherSituation", System.Data.DbType.String)]
        public string Dl_OtherSituation
        {
            get { return _dlOthersituation; }
            set
            {
                if (object.Equals(this._dlOthersituation, value) != true)
                {
                    this._dlOthersituation = value;
                    this.RaisePropertyChanged("Dl_OtherSituation");
                }
            }
        }


        private string _dlPatroproblems;
        /// <summary>
        /// 发现的问题及处理意见
        /// </summary>
        [ColumnMap("Dl_PatroProblems", System.Data.DbType.String)]
        public string Dl_PatroProblems
        {
            get { return _dlPatroproblems; }
            set
            {
                if (object.Equals(this._dlPatroproblems, value) != true)
                {
                    this._dlPatroproblems = value;
                    this.RaisePropertyChanged("Dl_PatroProblems");
                }
            }
        }

        private int _assist_ID;
        /// <summary>
        /// 附件id
        /// </summary>
        [ColumnMap("Assist_ID", System.Data.DbType.Int32)]
        public int Assist_ID
        {
            get { return _assist_ID; }
            set
            {
                if (object.Equals(this._assist_ID, value) != true)
                {
                    this._assist_ID = value;
                    this.RaisePropertyChanged("Assist_ID");
                }
            }
        }

    }
}


